#add_executable(mg_test 
#    ../contrib/mongoose/mongoose.c
#    mongoose_test.cpp)
#target_link_libraries(mg_test gwbase pthread ssl uuid curl sqlite3 jsoncpp_static borzoi)

add_executable(onion_tests onion_tests.cpp)
target_link_libraries(onion_tests onion_static pthread)
set_source_files_properties(onion_tests.cpp PROPERTIES COMPILE_FLAGS "-w")

#add_executable(onion_cpp_tests 
#    onion_cpp_tests.cpp)
#target_link_libraries(onion_cpp_tests onion_static pthread#)
#set_source_files_properties(onion_cpp_tests.cpp PROPERTIES COMPILE_FLAGS "-w")

#add_executable(close_test 
#    ../contrib/mongoose/mongoose.c
#    close_test.cpp)
#target_link_libraries(close_test gwbase pthread ssl curl uuid sqlite3 jsoncpp_static borzoi)

add_executable(ecies_tests ecies_tests.cpp)
target_link_libraries(ecies_tests gwbase surbasic pthread ssl curl uuid sqlite3
    jsoncpp_static borzoi crypto z)

add_executable(surbasic_tests surbasic_tests.cpp)
target_link_libraries(surbasic_tests gwbase surbasic pthread ssl curl
    jsoncpp_static borzoi sqlite3 uuid crypto z)

set_source_files_properties(ecies_tests.cpp surbasic_tests.cpp
    PROPERTIES COMPILE_FLAGS "-w")


add_executable(bench_db bench_db.cpp)
target_link_libraries(bench_db dicom_core gwbase pthread
    uuid sqlite3 jsoncpp_static borzoi)
